<template>
	<view>
		<button @click="onPullre()">刷新</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onPullDownRefresh() {
			console.log("onPullDownRefresh 数据开始刷新");
			setTimeout(()=>{
				console.log("onPullDownRefresh 数据刷新完了");
				uni.onPullDownRefresh()
			},2000)
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
